﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="PrikazSlika.aspx.cs" Inherits="PrikazSlika" Title="Фотографија" Theme="Theme" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">

<table  align="center">
                                <tr>
                                    <td align="center" colspan="3">
                                        <asp:Image ID="img_field" runat="server" Height="400px" BorderColor="Black" 
                                            BorderStyle="Solid" ImageUrl="~/Uploads/photo_1.jpg" BorderWidth="6px" />
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center">
                                        <asp:LinkButton ID="LinkButton1" runat="server" onclick="LinkButton1_Click" 
                                            SkinID="linkbutton1">Details</asp:LinkButton>
                                    </td>
                                    <td align="center">
                                        <asp:LinkButton ID="LinkButton2" runat="server" onclick="LinkButton2_Click" 
                                            SkinID="linkbutton1">Rate</asp:LinkButton>
                                    </td>
                                    <td align="center">
                                        <asp:LinkButton ID="LinkButton3" runat="server" onclick="LinkButton3_Click" 
                                            SkinID="linkbutton1">Comments</asp:LinkButton>
                                        <asp:Label ID="lbl_nc" runat="server" SkinID="label1"></asp:Label>
                                    </td>
                                    <tr>
                                        <td align="center" bgcolor="#999999" colspan="3">
                                        </td>
                                    </tr>
                                </tr>
</table>
<asp:MultiView ID="multi1" runat="server">
<asp:View ID="view_detail" runat="server">
<table width="100%" align="center" style="font-family: Arial; font-size: small;">
                                                    <tr>
                                                        <td align="right" >
                                                            Name:</td>
                                                        <td align="left">
                                                            <asp:Label ID="lbl_det_name" runat="server"></asp:Label>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right" class="style19">
                                                            Photographer:</td>
                                                        <td align="left">
                                                            <asp:Label ID="lbl_det_photograper" runat="server"></asp:Label>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right" >
                                                            Location:</td>
                                                        <td align="left">
                                                            <asp:Label ID="lbl_det_location" runat="server"></asp:Label>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right" >
                                                            Equipment:</td>
                                                        <td align="left">
                                                            <asp:Label ID="lbl_det_equipment" runat="server"></asp:Label>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right">
                                                            Exposure time:</td>
                                                        <td align="left">
                                                            <asp:Label ID="lbl_det_exposure" runat="server"></asp:Label>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right" >
                                                            Points:</td>
                                                        <td align="left">
                                                            <asp:Label ID="lbl_det_points" runat="server"></asp:Label>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right" >
                                                            Votes:</td>
                                                        <td align="left">
                                                            <asp:Label ID="lbl_det_votes" runat="server"></asp:Label>
                                                        </td>
                                                        
                                                    </tr>
                                                </table>
                                                </asp:View>
                                                <asp:View ID="view_rate" runat="server">
                                                <table  align="center" style="font-family: Arial; font-size: small;">
                                                    <tr>
                                                        <td align="right" >
                                                            Rate:</td>
                                                        <td align="left">
                                                            <asp:RadioButtonList ID="rbl_rate" runat="server" RepeatDirection="Horizontal">
                                                                <asp:ListItem>1</asp:ListItem>
                                                                <asp:ListItem>2</asp:ListItem>
                                                                <asp:ListItem>3</asp:ListItem>
                                                                <asp:ListItem>4</asp:ListItem>
                                                                <asp:ListItem>5</asp:ListItem>
                                                            </asp:RadioButtonList>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right">
                                                            Comment:</td>
                                                        <td align="left">
                                                            <asp:TextBox ID="txt_comment" runat="server" Font-Size="Smaller" Height="74px" 
                                                                TextMode="MultiLine" Width="287px" SkinID="txtbox1"></asp:TextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="right">
                                                            &nbsp;</td>
                                                        <td>
                                                            <asp:Button ID="btn_comment" runat="server" BackColor="Gainsboro" 
                                                                BorderColor="Gray" onclick="btn_comment_Click" Text="Comment" 
                                                                SkinID="button" />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="center" colspan="2">
                                                            <asp:Label ID="lbl_comment_result" runat="server" ForeColor="Red"></asp:Label>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </asp:View>
                                            <asp:View ID="view_comments" runat="server">
                                                <table class="style3" align="center">
                                                    <tr>
                                                        <td>
                                                            <asp:Label ID="lbl_show_comments" runat="server"></asp:Label>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </asp:View>
</asp:MultiView>
</asp:Content>

